e3123c5b0cfdc8b7b176e7090dd90f86a7329598,oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/AccessTokenTestAuthCodeTest.java,AccessTokenTestAuthCodeTest,testInvalidClient,#,120
Before Change
.tokenLocation(Common.ACCESS_TOKEN_ENDPOINT)
.setGrantType(GrantType.AUTHORIZATION_CODE)
.setCode(Common.AUTHORIZATION_CODE)
.setClientId("unknownid")
.setRedirectURI(Common.REDIRECT_URL)
.buildBodyMessage();
OAuthClient oAuthClient = new OAuthClient(new URLConnectionClient());
After Change
.tokenLocation(Common.ACCESS_TOKEN_ENDPOINT)
.setGrantType(GrantType.AUTHORIZATION_CODE)
.setCode(Common.AUTHORIZATION_CODE)
.setClientId("unknownid")
.setClientSecret(Common.CLIENT_SECRET)
.setRedirectURI(Common.REDIRECT_URL)
.buildBodyMessage();
OAuthClient oAuthClient = new OAuthClient(new URLConnectionClient());